﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <style type="text/css">
    body{}{
        margin:0px;padding:0;
    }
    .test{}{background-color:black;}
    .test a{}{float:left;text-decoration: underline;color: white;background-color:black;display:block;width:200px;text-align:center}
    .test a:hover{}{float:left;text-decoration: underline;color: black;background-color:white;display:block;width:200px}
    </style>

    <script src="Map.js" type="text/javascript"></script>
</head>
<body>
    <div id="d_map" style="width:100%; background-color:gray; position:relative;overflow:hidden;">
    </div>
</body>
</html>
<script type="text/javascript">
    function fit(){
        document.getElementById("d_map").style.height = document.documentElement.clientHeight+"px";
    }
    fit();
    
    var map = new CMap(document.getElementById("d_map"));
    
    map.setCenter(new CPoint(1024,2048));
    map.init();
    map.onresize=fit;
    
</script>
